<template>
<div class="common-seach-wrap">
    <el-tabs v-model="activeName">
      <el-tab-pane :label="$t('plus.checkin_setting')" name="setting"> </el-tab-pane>
      <el-tab-pane :label="$t('plus.checkin_record')" name="receive"> </el-tab-pane>
    </el-tabs>

    <!--签到设置-->
    <Setting v-if="activeName == 'setting'"></Setting>

    <!--签到记录-->
    <Receive v-if="activeName == 'receive'"></Receive>
  </div>
</template>

<script>
import Setting from "./setting/Setting.vue";
import Receive from "./receive/Receive.vue";
export default {
  components: {
    Setting,
    Receive
  },
  data() {
    return {
      /*当前选中*/
      activeName: "setting"
    };
  },
  methods: {}
};
</script>

